<AppSpan
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
  noValueShowMode="STYLE1"
{{/eq}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  {{/if}}
{{/if}}
{{#if item.psEditor.psAppCodeList}}
  codeListTag="{{item.psEditor.psAppCodeList.codeListTag}}"
  codeListType="{{item.psEditor.psAppCodeList.codeListType}}"
{{/if}}
{{#if item.dataType}}
  :dataType="{{item.dataType}}"
{{/if}}
{{#if item.unitName}}
  unitName="{{item.unitName}}"
{{/if}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.precision}}
  :precision="{{item.psEditor.editorParams.precision}}"
  {{/if}}
{{/if}}
{{#if item.psEditor.editorParams.valueFormat}}
  valueFormat="{{item.psEditor.editorParams.valueFormat}}"
{{else if item.valueFormat}}
  valueFormat="{{item.valueFormat}}"
{{else if item.psAppDEField.valueFormat}}
  valueFormat="{{item.psAppDEField.valueFormat}}"
{{/if}}
{{#if item.psEditor.psNavigateContexts}}
  :localContext="{{> @macro/common/navparam.hbs appNavParams=item.psEditor.psNavigateContexts}}"
{{/if}}
{{#if item.psEditor.psNavigateParams}}
  :localParam="{{> @macro/common/navparam.hbs appNavParams=item.psEditor.psNavigateParams}}"
{{/if}}
{{#if item.convertToCodeItemText}}
  :showSourceMode="true"
{{/if}}
{{#if (eq item.psEditor.editorStyle 'ADDRESSPICKUP')}}
  editorType="ADDRESSPICKUP"
{{else}}
  editorType="{{item.psEditor.editorType}}"
{{/if}}
  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
{{/eq}}
  :context="store.context"
  :viewParams="store.viewParams"/>
